$OpenBSD: patch-libapp_bitset_cpp,v 1.1 2015/07/01 11:33:50 bluhm Exp $
--- libapp/bitset.cpp.orig	Tue Jan 30 22:24:19 2001
+++ libapp/bitset.cpp	Tue Nov 11 19:12:06 2014
@@ -72,6 +72,7 @@ CBitSet::CBitSet( CPBYTE pbuf, size_t bitlen )
 CBitSet::~CBitSet( void )
 {
     delete[] m_buf;
+    m_buf = NULL;
 }
 
 CBitSet& CBitSet::operator=( const CBitSet& other )
